翻訳と辞書
Words near each other
・ Standby counsel
・ Standby Equity Distribution Agreement
・ Standby generator
・ Standby High-Readiness Brigade
・ Standard solution
・ Standard Songs for Average People
・ Standard Spanish
・ Standard state
・ Standard State Zoning Enabling Act
・ Standard Steam Car
・ Standard Steel Car Company
・ Standard Steel Casting Company
・ Standard Step Method
・ Standard streams
・ Standard Superior
Standard swap
・ Standard Swedish
・ Standard Talking Machine Company
・ Standard Telecommunication Laboratories
・ Standard telegraph level
・ Standard Telephones and Cables
・ Standard Template Library
・ Standard Ten
・ Standard terminal arrival route
・ Standard Terminal Automation Replacement System
・ Standard Test and Programming Language
・ Standard Test Data Format
・ Standard test image
・ Standard test signal
・ Standard test tone


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Standard swap : ウィキペディア英語版
Standard swap

In computer science, the standard swap or three point turn is a programming paradigm that exchanges the values of two variables.
By using a third variable, whose value is otherwise of no concern, to hold the value of the first, and then assigning the second's to the first, and the third's back to the second, the values of the first two are swapped.
For example:

# let temp = b
# let b = a
# let a = temp

In modern CPUs this is accomplished on the processor itself, in a single machine instruction, rather than having to go through RAM.


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Standard swap」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.